﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DongFangGuoKai.WMSPlatform.Domain.Models
{
    ///<summary>
    ///下架单
    ///</summary>
    [SugarTable("DBO.t_PickingOrder")]
    public partial class t_PickingOrder
    {
        public t_PickingOrder()
        {


        }
        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:下架单号
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string Code { get; set; }

        /// <summary>
        /// Desc:对应出库单明细Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? RelatedOrderDetailId { get; set; }

        /// <summary>
        /// Desc:客户
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? WarehouseCode { get; set; }

        /// <summary>
        /// Desc:库房
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? WarehouseName { get; set; }

        /// <summary>
        /// Desc:单据类型
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? BillType { get; set; }

        /// <summary>
        /// Desc:仓位编码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? LocationCode { get; set; }

        /// <summary>
        /// Desc:仓位深度
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? LocationDepth { get; set; }

        /// <summary>
        /// Desc:垛存储信息Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? StackingStorageId { get; set; }

        /// <summary>
        /// Desc:垛条码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? PalletBarcode { get; set; }

        /// <summary>
        /// Desc:目标地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? DescAddress { get; set; }

        /// <summary>
        /// Desc:状态
        /// Default:0
        /// Nullable:True
        /// </summary>           
        public int? Status { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:DateTime.Now
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// Desc:修改时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// Desc:数量
        /// Default:0
        /// Nullable:True
        /// </summary>           
        public decimal? QTY { get; set; }

        /// <summary>
        /// Desc:物料Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public long? MaterialId { get; set; }

        /// <summary>
        /// Desc:物料号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? MaterialCode { get; set; }

        /// <summary>
        /// Desc:物料名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? MaterialName { get; set; }

        /// <summary>
        /// Desc:货主Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? OwnerId { get; set; }

        /// <summary>
        /// Desc:货主名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? OwnerName { get; set; }

        /// <summary>
        /// Desc:物料关键字Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? MaterialKeyId { get; set; }

        /// <summary>
        /// Desc:批次号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? BatchNO { get; set; }

        /// <summary>
        /// Desc:来源分类：1-入库；2-出库；3-移库；4-盘点
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? SourceType { get; set; }

    }
}
